package com.youhome.mobile.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.Email;
import java.util.Date;

/**
 * Created by chen365 on 2019/03/01.
 */
@Data
@ApiModel
public class DTOClientCreate {
    @ApiModelProperty(value = "客户姓名", required = true)
    private String name;

    @ApiModelProperty(value = "客户手机", required = true)
    private String phone;

    @ApiModelProperty(value = "微信")
    private String weixin;

    @ApiModelProperty(value = "QQ")
    private String qq;

    @ApiModelProperty(value = "投资目的(长期持有,自住,增值投资,租金收益,儿女留学居住)")
    private String investmentObjective;

    @ApiModelProperty(value = "资金来源(国内资金，海外资金)")
    private String capitalSource;

    @ApiModelProperty(value = "房型倾向(独栋别墅,联排别墅,公寓)")
    private String tendencyRoom;

    @ApiModelProperty(value = "地点倾向")
    private String tendencySite;

    @ApiModelProperty(value = "价格倾向(100万人民币以内,100-200万人民币,200-400万人民币,400-700万人民币,700-1000万人民币,1000万人民币以上)")
    private String tendencyPrice;

    @ApiModelProperty(value = "面积倾向")
    private String tendencySize;

    @ApiModelProperty(value = "学校评分倾向")
    private String tendencySchool;

    @ApiModelProperty(value = "省(州)")
    private String province;

    @ApiModelProperty(value = "市(区)")
    private String city;

    @ApiModelProperty(value = "区(县)")
    private String area;

    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "出生年月日")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthDate;

    @ApiModelProperty(value = "婚姻，0保密，1已婚，2未婚，3离异")
    private int marital;

    @ApiModelProperty(value = "年收入")
    private String income;

    @ApiModelProperty(value = "职称")
    private String jobTitle;

    @ApiModelProperty(value = "工作行业")
    private String jobType;

    @ApiModelProperty(value = "性别，0女，1男")
    private int gender;

    @ApiModelProperty(value = "邮箱")
    @Email(message = "邮箱不正确")
    private String email;

    @ApiModelProperty(value = "头像地址")
    private String photo;

    @ApiModelProperty(value = "备注")
    private String remark;
}
